import {createRouter,createWebHashHistory} from 'vue-router';

const router=createRouter({
    history:createWebHashHistory(),
    routes:[
      {
        path:'/',
        redirect:'/loginAdd'
      },
      {
        path:'/loginAdd',
        component:()=>import('../views/LoginAddView.vue')
      },
      {
        path:'/login',
        component:()=>import('../views/LoginView.vue')
      },
      {
        path:'/show',
        component:()=>import('../views/UserShowView.vue')
      },
      {
        path:'/newLogin',
        component:()=>import('../views/NewLoginView.vue')
      },
      {
        path:'/addUser',
        component:()=>import('../views/UserAddView.vue')
      },
      {
        path:'/newshow',
        component:()=>import('../views/NewShowView.vue')
      },
      {
        path:'/queryShow',
        component:()=>import('../views/QueryShow.vue')
      },
      {
        path:'/userMoney',
        component:()=>import('../views/UserMoneyShow.vue')
      },
      {
        path:'/uuserMoney',
        component:()=>import('../views/uUserMoneyShow.vue')
      },
      {
        path:'/addMoney',
        component:()=>import('../views/addMoney.vue')
      },
    ]

})

export default router